import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 按需导出vant
import '@/utils/vant'
// 导入全局样式 全局样式要放在vant下方
import '@/styles/base.less'
// 导入flexible，做适配效果
import 'amfe-flexible'
import moment from 'moment'
// 时间中文处理
moment.locale('zh-cn')
Vue.filter('fromNow', (time) => moment(time).fromNow())
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
